package com.example.library.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author 胡绍杆
 * @since 2022-06-16
 */
@TableName("t_borrow")
public class Borrow implements Serializable {

    private static final long serialVersionUID = 1L;

      @TableId(value = "borrow_id", type = IdType.AUTO)
      private Integer borrowId;

    private String bookNum;

    private String accout;

    private String borrowTime;

    private String borrowRenew;

    private String borrowReturn;

    private String returnTime;

    
    public Integer getBorrowId() {
        return borrowId;
    }

      public void setBorrowId(Integer borrowId) {
          this.borrowId = borrowId;
      }
    
    public String getBookNum() {
        return bookNum;
    }

      public void setBookNum(String bookNum) {
          this.bookNum = bookNum;
      }
    
    public String getAccout() {
        return accout;
    }

      public void setAccout(String accout) {
          this.accout = accout;
      }
    
    public String getBorrowTime() {
        return borrowTime;
    }

      public void setBorrowTime(String borrowTime) {
          this.borrowTime = borrowTime;
      }
    
    public String getBorrowRenew() {
        return borrowRenew;
    }

      public void setBorrowRenew(String borrowRenew) {
          this.borrowRenew = borrowRenew;
      }
    
    public String getBorrowReturn() {
        return borrowReturn;
    }

      public void setBorrowReturn(String borrowReturn) {
          this.borrowReturn = borrowReturn;
      }

    public String getReturnTime() {
        return returnTime;
    }

    public void setReturnTime(String returnTime) {
        this.returnTime = returnTime;
    }

    @Override
    public String toString() {
        return "Borrow{" +
                "borrowId=" + borrowId +
                ", bookNum=" + bookNum +
                ", accout='" + accout + '\'' +
                ", borrowTime=" + borrowTime +
                ", borrowRenew=" + borrowRenew +
                ", borrowReturn=" + borrowReturn +
                ", returnTime='" + returnTime + '\'' +
                '}';
    }
}
